var pageii = null;
var grid = null;
$(function() {
	
	grid = lyGrid({
		pagId : 'paging',
		l_column : [ {
			colkey : "id",
			name : "id",
		}, {
			colkey : "code",
			name : "物料编号",
		}, {
			colkey : "name",
			name : "物料名称",
		}, {
			colkey : "specification",
			name : "物料规格",
		}],
		jsonUrl : rootPath + '/item_resource/getItemChildFindByPage.shtml',
		dymCol:true,
		checkbox : true,
		checkValue: "id",
		records: "list",
		totalPages: "pages",
		totalRecords: "total",
		pagecode: '10',
		pageNow : 'pageNum'
	});
	
});